C++: fontify identifier in declaration following "public:" correctly.
authorAlan Mackenzie <acm@muc.de>
Sat, 21 Sep 2013 17:21:29 +0000 (17:21 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 21 Sep 2013 17:21:29 +0000 (17:21 +0000)
commitc4641f1343c6a3585bb35ba1c25c59760ff3458b
tree86185d2d25fc7bb3ce070ab4b73286ef9437d422
parent7624f7bd1c39ed88e91263fe0f49b22a0c1599f5
C++: fontify identifier in declaration following "public:" correctly.
* progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
to match "public", etc.
(c-decl-prefix-re): Add ":" into the C++ value.
* progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
bit.  Add a check for a ":" preceded by "public", etc.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el